//
//  NIBaseDataManager.h
//  AIWAYS
//
//  Created by Marx on 2018/8/23.
//  Copyright © 2018年 wlq. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CoreDataManager.h"
#import "NIBaseObject.h"
@interface NIBaseDataManager : NSObject

- (BOOL)insertCoreDataWithModel:(NIBaseObject *)model AndName:(NSString *)name;

- (BOOL)deleteCoreDataWithModel:(NIBaseObject *)model AndName:(NSString *)name;

- (BOOL)updateCoreDataWithOriginalModel:(NIBaseObject *)model andPresentModel:(NIBaseObject *)presentModel AndName:(NSString *)name;

- (NSArray *)selectCoreDataWithModel:(NIBaseObject *)model AndName:(NSString *)name;

@end

